import ajaxFunc from "./axios";

//banner
export function homeBannerApi() {
    return ajaxFunc({
        url:'/banner',
    })
}

//首页商品
export function homeListApi() {
    return ajaxFunc({
        url: '/recommend',
    })
}

//分类列表
export function typesApi() {
    return ajaxFunc({
        url: '/product/types',
    })
}